package com.itheima.d12_builder;

import lombok.Builder;
import lombok.Data;

/**
 * lombok
 */
@Data
@Builder
public class Cat {
    private String name;
    private int age;
    private String color;
    private String sex;
    private String weight;


    /*@Override
    public String toString() {
        return "Cat{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", color='" + color + '\'' +
                ", sex='" + sex + '\'' +
                ", weight='" + weight + '\'' +
                '}';
    }*/

   /* public Cat name(String name){
        this.name = name;
        return this;
    }

    public Cat color(String color){
        this.color = color;
        return this;
    }

    public Cat age(int age){
        this.age = age;
        return this;
    }


    public Cat weight(String weight){
        this.weight = weight;
        return this;
    }*/

    /*public Cat(String name) {
        this.name = name;
    }

    public Cat(int age) {
        this.age = age;
    }

    public Cat(String color, String name) {
        this.color = color;
        this.name = name;
    }

    public Cat(String weight, String sex, String color) {
        this.weight = weight;
        this.sex = sex;
        this.color = color;
    }


    public Cat(String name, String weight, String sex, int age) {
        this.name = name;
        this.weight = weight;
        this.sex = sex;
        this.age = age;
    }

    public Cat(String name, int age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }*/
}
